{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>案例详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">案例标题：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$case.case_title}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">缩略图：</label>
                            <div class="layui-input-block">
                                    <div class="layui-upload-list img-circle">
                                        <img class="layui-append-img" src="{$case.case_thumb}" onerror="this.src='/static/admin/images/no_img.jpg'">
                                    </div>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">图片详情轮播</label>
                            <div class="layui-input-block">
                                {if count($case.case_images) > 0}
                                {volist name='case.case_images' id='vo'}
                                <div class="layui-upload-list img-circle">
                                    <img class="layui-append-img" src="{$vo}">
                                </div>
                                {/volist}
                                {else /}
                                暂无图片
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">案例详情：</label>
                            <div class="layui-input-block" id="LAY_editor" lay-verify="editor">
                                <p>{$case.case_content}</p>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{include file="public/footer" /}
<script>
    var editor = wk.wang({elem:'#LAY_editor'});
</script>
</body>
</html>